CarSearchEngine

class CarSearchEngine(searchEngine: SearchEngine, navigationLocationProvider: NavigationLocationProvider)

This class is to simplify the interaction with the SearchEngine for the specific use cases that the app needs in the car.

Constructors

CarSearchEngine
Link copied to clipboard
fun CarSearchEngine(searchEngine: SearchEngine, navigationLocationProvider: NavigationLocationProvider)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
search
Link copied to clipboard
fun search(query: String, callback: (List<SearchSuggestion>) -> Unit)
Search for suggestions.
select
Link copied to clipboard
fun select(selection: SearchSuggestion, callback: (List<SearchResult>) -> Unit)
Given a SearchSuggestion, request for SearchResults.
toString
Link copied to clipboard
open fun toString(): String